package com.woniuxy.service;

import com.woniuxy.entity.Production;
import com.woniuxy.entity.QueryEntity;
import com.woniuxy.entity.ResponseEntity;

/**
 * @author leimin
 * @create 2022-04-26 19:04
 */
public interface ProductionService {
    ResponseEntity findAllByCondition(QueryEntity<Production> queryEntity);

    ResponseEntity findAll();

    ResponseEntity findOne(int id);

    ResponseEntity addOne(Production production);

    ResponseEntity deleteOne(int id);

    ResponseEntity deleteBatch(int[] ids);

    ResponseEntity updateOne(Production production);

    ResponseEntity findSelectOption();

    ResponseEntity findByCode(String material_code);

    ResponseEntity findByName(String name);
}
